Programming With QuickTime VR 2.1

Previous | Overview | Contents | Next

Initializing and Terminating QuickTime VR

The QuickTime VR Manager provides routines for initializing and terminating its operation.

The InitializeQTVR and TerminateQTVR routines are required for QuickTime VR to run in a Windows environment. They do nothing in the Mac OS environment, but should be included for cross-platform compatibility.

When your application calls InitializeQTVR in the Windows environment, the code attempts to find QTVR.qtx throught the normal search paths. If it does not find QTVR.qtx, it returns an error code of 6660 and the API will be unusable.

InitializeQTVR

You must use the InitializeQTVR function before calling other functions of QuickTime VR.

*** Where can I get the definition of this function? It isn't in the header file. ***

TerminateQTVR

You must use the TerminateQTVR function when you have finished using the functions of QuickTime VR.

*** Where can I get the definition of this function? It isn't in the header file. ***

Multiple calls to InitializeQTVR and TerminateQTVR can be either nested or sequential, but there must be at least one call to TerminateQTVR corresponding to each call to InitializeQTVR.


© 1997 Apple Computer, Inc.

Previous | Overview | Contents | Next